﻿#region Assembly PresentationFramework.dll, v4.0.30319
// C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework\v4.0\Profile\Client\PresentationFramework.dll
#endregion

using System;

namespace System.Windows.Data
{
	/// <summary>
	/// 
	/// </summary>
	[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
	public sealed class ValueConversionAttribute : Attribute
	{
		readonly Type _sourceType;
		readonly Type _targetType;

		/// <summary>
		/// 
		/// </summary>
		/// <param name="sourceType"></param>
		/// <param name="targetType"></param>
		public ValueConversionAttribute(Type sourceType, Type targetType)
		{
			_targetType = targetType;
            _sourceType = sourceType;
		}


		/// <summary>
		/// 
		/// </summary>
        public Type ParameterType { get; set; }

		/// <summary>
		/// 
		/// </summary>
        public Type SourceType { get { return _sourceType; } }

		/// <summary>
		/// 
		/// </summary>
        public Type TargetType { get { return _targetType; } }
	}
}
